import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }

//添加预警信息
export function addInspectionTaskSign(data) {
    return request({
        url: getUrl("admin/spectionTaskSignInfo/addInspectionTaskSign"),
        method: 'post',
        data
    })
}

//更新预警信信息
export function updateInspectionTaskSign(data) {
    return request({
        url: getUrl("admin/spectionTaskSignInfo/updateInspectionTaskSign"),
        method: 'post',
        data
    })
}


export function deleteInspectionTaskSign(data) {
    return request({
        url: getUrl("admin/spectionTaskSignInfo/deleteInspectionTaskSign"),
        method: 'post',
        data
    })
}


//获取预警信息数据 getInspectionTaskSignVo
export function getInspectionTaskSignVo(data) {
    return request({
        url: getUrl("admin/spectionTaskSignInfo/getInspectionTaskSignVo"),
        method: 'post',
        data
    })
}